Fixed null exception if no paste. Paste cycling