Missing img test fix with regards to limits

The thumbnail count shouldn't be included when the user limit isn't allowed.