Added condition to assert to make it pass where it was not passing

Added condition to assert to make it pass where it was not passing prior on certain files (Teehan+Lax iOS6 template for example)