Fixed issue with optional sections in razor