Altered the array filter on create method to allow indexes with false equivalent content

I was trying to create a private project, so I had to define the 'is_public' index as false in the params array, but the array_filter function was eliminating it so my projects were being created as public projects.
I added a callback function to the array_filter so that it only eliminates the null indexes of the params and not those that are equivalent to false.