Fixed a 500 error on the /friends/numrequests page