Fix for SCI-1774 - improved reading order
Removed debug prints