Simplify max attachment size checking logic