Fixes Incorrect Return for belongsToSection

An error in the code lead to things like section 10 returning true
for belonging to section 1. Fixes the issue by appending a dot to the
section we're checking against so 1. is compared to 10. for strpos
checks.