Update app/controllers/collection.php

Correction suggested in chrisgittings/mlazarov-rockmongo#1b1f6c6c076a9bbc16075f02ea855eb2afc6ea9e