Fix fatal error where 'author' query argument could be empty or missing a valid user