Fix logical AND to logical OR for file uploads to prevent accidental too large of files posted.

Affects #360
Merge pull request #361 from Martii/Issue-360fixLogicForMaxSize

Fix logical AND to logical OR for file uploads to prevent accidental too...

Auto merge