Fixing runAuthorSelect function.