I moved this "unless" to line 21. Line 20 doesn't need to be in this unless block since it the sessions code in line 20 will only occur when params are being sent.