Removed invalid sort from FFATB
Used IFNULL() MySQL command where appropriate
Added IFNULL() to FF