Fixed:

Project was not getting the first value as default if the cookies is not set. 
If the allocated project is removed from the user.