Removed redundant null check
Test null reservation id in start transaction
Reduce cyclomatic complexity
Reduce cyclomatic complexity