Fix if no asset selected sql error

Allows for a license to be assigned to a user with out an asset. Previously if just a user was selected, once submitted it would error.