I was able to flip the retaining flap while removing the damaged fan but accidentally dislodged after installing the replacement fan. Again, be very careful at this stage. Thankfully my new fan appears to function normally.
These are notoriously difficult to remove. I actually damaged 2/3 of the connector pins during the process. Thankfully i was still able to fit them in place. This step should not be underestimated.